<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'

</script>

<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <nav>
          <RouterLink to="/register">注册-</RouterLink>
          <RouterLink to="/login">登录-</RouterLink>
          <RouterLink to="/person-info">个人信息-</RouterLink>
          <RouterLink to="/about">About</RouterLink>
        </nav>
      </el-header>
      <el-main>
        <RouterView />
      </el-main>
    </el-container>
  </div>

</template>

<style scoped>

</style>
